Django quick setup
July 11, 2021
Django is one of the famous Python framework for fastest way to build web applications and rest APIs using various available plugins.In this article, lets see how you can setup a django project in simple steps.
Pre-requisites
Python installed in your machine
Steps
-
Env setup
$ pip3 install pipenv
-
Creating project
$ mkdir django-sample $ cd django-sample $ pipenv install django
-
Activate your virtual env
$ pipenv shell
-
Using django-admin
$ django-admin startproject django-sample . $ python manage.py startapp playground